<?php


/**
* Puree CMS
* http://www.molotsoft.ru
*
* @package Puree_CMS
* @subpackage Admin/Elements
* @author Ivan Chistyakov <ivan@molotsoft.ru>
* @version $Id: admin_index_right2_cells.ctp 1535 2010-04-22 09:12:45Z molotsoft@gmail.com $
* @link $HeadURL: http://puree-cms.googlecode.com/svn/trunk/views/plugins/admin/elements/automate/admin_index_right2_cells.ctp $
*/


// right_cells
echo '<div class="right_cells">';

// cell_published / cell_displayed
if (isset($field_schema['published'], $row[$model]['published'])) {
	echo '<div class="cell cell_published">' . $row[$model]['published'] . '</div>';
} elseif (isset($field_schema['displayed'], $row[$model]['displayed'])) {
	echo '<div class="cell cell_displayed">' . $row[$model]['displayed'] . '</div>';
}

echo '</div>'; // end of right_cells


?>